define(['./../initial', './../model/Project', './../controller/status/statusCtrl'], function () {
    var app = angular.module('App');
    app.config(['$stateProvider', '$urlRouterProvider', '$locationProvider',
        function ($stateProvider, $urlRouterProvider, $locationProvider) {
            $stateProvider
                .state('metro.type.project.status', {
                    url: '/status',
                    resolve: {
                        statusList: ['curPrj', '$state', 'viewbag', function (curPrj, $state, viewbag) {
                            return curPrj.getStatusGroup();
                        }]
                    },
                    views: {
                        "content@": {
                            templateUrl: '/partials/metro/status/status',
                            controller: "statusCtrl"
                        }
                    }
                });
        }
    ]);
});